<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <style>
        body{
            background-color:#f6f6f6;
        }
        /*header*/
        .wrapper{
            background-color:#fff;
            height: 48px;
            width: 100%;
            position: fixed;
            top:0;
            left: 0;
        }
        .wrapper .header{
            margin: auto;
            width: 70%;
            height: 48px;
            display: flex;
            justify-content: space-between;
        }
        .header .logo{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .header .logo img{
            width: 100%;
            height: 32px;
        }

        .container{
            margin: auto;
            margin-top: 64px;
            width: 56%;
            display: flex;
        }

        .topics{
            background-color: #fff;
            flex: 3;
            padding: 6px;
        }
        .left-side{
            flex: 1;
            margin-right: 24px;

        }

        .user-info {
            background-color: #fff;
            padding: 20px;
        }
        .user-info .user-context{
            display: flex;
            justify-content: center;
            border-bottom: 1px solid rgba(219, 219, 219, 0.5);
        }
        .user-info .user-context img{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            justify-content: center;
        }
        .user-info .user-context .nickname{
            padding-bottom: 10px;
            margin-top: 6px;
            display: flex;
            justify-content: center;
            font-size: 16px;
        }
        .user-detail{
            font-size: 14px;
        }
        .user-detail div{
            padding: 6px;
        }
        .list-head{
            font-size: 16px;
            padding: 10px;
            border-bottom: 1px solid rgba(219, 219, 219, 0.5);
        }
        .topic-item{
            height: 60px;
            font-size: 14px;
            border-bottom: 1px solid rgba(219, 219, 219, 0.5);
        }
        .topic-item div{
            margin: 6px;

        }
        @media (max-width: 768px) {
            .wrapper .header{
                width: 100%;
            }
            .container {
                width: 100%;
                display: block;
                margin: auto;
                margin-top: 64px;
            }
            .left-side{
                background-color: #fff;
                width: 100%;
            }
            .topics{
                margin-top: 5%;
                width: 100%;
            }
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="header">
            <div class="logo">
                <img src="img/logo.png">
            </div>
        </div>
    </div>
    <div class="container">
        <div class="left-side sec-card">
            <div class="user-info">
                <div class="user-context">
                    <div class="user-msg">
                        <img src="img/avatar.png">
                        <div class="nickname">admin</div>
                    </div>
                </div>
                <div class="user-detail">
                    <div class="user-score">
                        积分：2
                    </div>
                    <div class="join-date">
                        入驻：2021/01/13 17:01:17
                    </div>
                    <div class="user-intro">
                        简介：自由职业者
                    </div>
                </div>
            </div>
        </div>
        <div class="topics sec-card">
            <div class="list-head">
                话题
            </div>
            <div class="topic-list">
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
                <div class="topic-item">
                    <div class="title">
                        <a href="#">
                            hello，spring-security
                        </a>
                    </div>
                    <div class="create-time">
                        发布于:2020/12/03 20:56:51
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
